package Demo;

public class Demo7 {
    public static void main(String[] args) {
        son s = new son();
        s.valuse = 3;
        s.one();
        int abs = Math.abs(5);
        ss sss = new ss();
        sss = new ss();

    }
}

interface s {
    void d();
}

class father1 {
    int valuse;

    private int age2;

    public void one() {
        System.out.println("valuse的值是：" + valuse);
    }

    public void two() {
    }

}

class son extends father1 {
    public void one() {
        System.out.println("valuse的值是：" + valuse);
        System.out.println("valuse的值是：" + super.valuse);
    }

    public void one(int sum) {
        valuse = sum + valuse;
        System.out.println("valuse的值是：" + valuse);
    }
}

class ss implements s {

    @Override
    public void d() {

    }
}

